package com.qfedu.pojo;

import com.qfedu.entity.AddressEntity;
import com.qfedu.entity.CustomerEntity;
import com.qfedu.entity.OrderDetailEntity;

import java.util.Date;
import java.util.List;

public class OrderPojo {
    private String oid;
    private String oname;
    private Date ocreateDate;
    private int ostatus;
    private int addressid;
    private int cid;
    private List<OrderDetailEntity> orderDetailEntityList;
    private CustomerEntity customerEntity;
    private AddressEntity addressEntity;
    @Override
    public String toString() {
        return "OrderPojo{" +
                "oid='" + oid + '\'' +
                ", oname='" + oname + '\'' +
                ", ocreateDate=" + ocreateDate +
                ", ostatus=" + ostatus +
                ", addressid=" + addressid +
                ", cid=" + cid +
                '}';
    }

    public List<OrderDetailEntity> getOrderDetailEntityList() {
        return orderDetailEntityList;
    }

    public void setOrderDetailEntityList(List<OrderDetailEntity> orderDetailEntityList) {
        this.orderDetailEntityList = orderDetailEntityList;
    }

    public CustomerEntity getCustomerEntity() {
        return customerEntity;
    }

    public void setCustomerEntity(CustomerEntity customerEntity) {
        this.customerEntity = customerEntity;
    }

    public AddressEntity getAddressEntity() {
        return addressEntity;
    }

    public void setAddressEntity(AddressEntity addressEntity) {
        this.addressEntity = addressEntity;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public Date getOcreateDate() {
        return ocreateDate;
    }

    public void setOcreateDate(Date ocreateDate) {
        this.ocreateDate = ocreateDate;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public int getAddressid() {
        return addressid;
    }

    public void setAddressid(int addressid) {
        this.addressid = addressid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }
}
